package cn.tedu.my_shop.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class Sale {
    @ApiModelProperty(value = "订单序列号")
    private Integer id;
    @ApiModelProperty(value = "商品码")
    private Integer productId;
    @ApiModelProperty(value = "销售数量")
    private Integer count;
    @ApiModelProperty(value = "销售单价")
    private Double salePrice;
    @ApiModelProperty(value = "客户id码")
    private Integer consumerId;
    @ApiModelProperty(value = "下单时间")
    private Date created;
    @ApiModelProperty(value = "订单状态0/1(已支付/未支付)")
    private String state;
}
